package org.jeecg.modules.sggg.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.sggg.entity.SgBacklog;
import org.jeecg.modules.sggg.mapper.SgBacklogMapper;
import org.jeecg.modules.sggg.service.ISgBacklogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 待办表
 * @Author: jeecg-boot
 * @Date: 2022-10-17
 * @Version: V1.0
 */
@Service
public class SgBacklogServiceImpl extends ServiceImpl<SgBacklogMapper, SgBacklog> implements ISgBacklogService {

    @Autowired
    private SgBacklogMapper sgBacklogMapper;


    @Override
    public IPage<SgBacklog> queryList(Page<SgBacklog> page, String sysOrgCode, String commander, String userName, String idCard, String phone, Integer backlogType, Integer dayNum, Integer overdue) {
        return sgBacklogMapper.queryList(page, sysOrgCode, commander, userName, idCard, phone, backlogType,dayNum,overdue);
    }

    @Override
    public IPage<SgBacklog> queryFutureList(Page<SgBacklog> page, String sysOrgCode, String userName, String idCard, String phone) {
        return sgBacklogMapper.queryFutureList(page,sysOrgCode,userName,idCard,phone);
    }

}
